<%-- Created by IntelliJ IDEA. Date: 2022/3/22 Time: 23:49 To change this
template use File | Settings | File Templates. --%>
<%@ page
        contentType="text/html;charset=UTF-8" language="java" %>
<c:set var="path" value="${pageContext.request.contextPath}"></c:set>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>公告中心</title>
    <!-- Meta tag Keywords -->
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta charset="UTF-8"/>
    <meta name="keywords" content=""/>

    <!--// Meta tag Keywords -->
    <!-- css files -->
    <link
            rel="stylesheet"
            href="${path}/static/bootstrap/css/bootstrap.css"
            type="text/css"
            media="all"
    />
    <!-- Owl-Carousel-CSS -->
    <link
            rel="stylesheet"
            href="${path}/static/css/user/blog.css"
            type="text/css"
            media="all"
    />
    <style type="text/css">
        #app{
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .title {
            width: 100%;
            font-weight: bold;
            font-size: 16px;
            padding-left: 120px;
        }

        .content {
            height: 500px;
            display: flex;
            flex-direction: column;
        }
    </style>
</head>
<body>
<jsp:include page="navigation.jsp"></jsp:include>
<div class="container">

    <div id="app">
        <div class="title">标题：${publish.title}</div>
        <div class="content">
           ${publish.content}
        </div>
    </div>


    <!-- 开发环境版本，包含了有帮助的命令行警告 -->
    <script src="${path}/static/js/vue.js"></script>
    <!-- import Vue before Element -->
    <script src="${path}/static/element/lib-index.js"></script>
    <script src="${path}/static/js/axios.min.js"></script>

    <script>


        $("#lost_btn").click(function () {
            // //1、发送ajax,根据id获取用户信息
            // //清除表单数据（表单完整重置（表单的数据，表单的样式））
            // reset_form("#user_edit_form");
            // //2、弹出模态框
            // $("#editUser").modal({
            //     backdrop:"static"
            // });
            window.location.href = "${path}/user/publishPage"

        });
    </script>


</body>
</html>
